<?php echo $this->Html->css('form'); ?>
<div class="contentMain">
	<div class="form_wrapper">
		<div class="pagination">
		<?if(!empty($neighbors['next'])):?>
			<span class="right"><a href="<?=$this->webroot.'products/view/'. $neighbors['next']['Product']['id']?>">Next Product</a><span class="arrowBg yellowNext"></span></span>
		<?endif;?>
		<?if(!empty($neighbors['prev'])):?>
		<span class="left"><span class="arrowBg yellowPrev"></span><a href="<?=$this->webroot.'products/view/'. $neighbors['prev']['Product']['id']?>">Previous Product</a></span>
		<?endif;?>
		</div>
		<div class="articleList">
			<ul>
				<li>
					<div class="rightCol">
						<?php echo $html->link($deal['Product']['name'], 
							'/products/view/' . $deal['Product']['id'],
							array('class' => 'title')); ?>
						<div class="infoBar">
							on <?php echo date(COMMON_DATE_FORMAT, strtotime($deal['Deal']['modified']));?>
							<?if($showedit):?>
							<?endif;?>
						</div>
						Price: <?php echo $deal['Deal']['price']; ?>
						<?php echo Sanitize::stripTags($deal['Deal']['description'],'script'); ?>
						
						<div class="btnBar">
							<a href="#" class="right width72">
								<fb:like href="<?='http://'.$_SERVER['HTTP_HOST'].$this->here?>" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
							</a>
							
							<a href="http://twitter.com/share?text=#FCBC40UP <?=$deal['Deal']['id']?>" class="twitter-share-button" data-url="<?='http://'.$_SERVER['HTTP_HOST'].$this->here?>" data-count="none">Tweet</a>
							<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
							
							<?
								echo '<a target="_blank" href="http://www.facebook.com/sharer.php?u=', urlencode('http://'.$_SERVER['HTTP_HOST'].$this->here), '" share_url="http://'.$_SERVER['HTTP_HOST'].$this->here, '">
									<img src="', $this->webroot, 'img/btnFShare.gif" alt="Facebook Share" id="fb_share"/>
								</a>'
							?>
						</div>
					</div>
				</li>
			</ul>
							
		</div>
					
	</div>
</div>
